<div class="div-top">
    <span style="font-size: 20px;float:left;">{{menu_name}}</span>
    <div style="float:right;">
        <button ng-repeat="but in buttons" ng-click="operate(but.event)" class="btn btn-{{but.style}}"><i class="iconfont {{but.img}}"></i>&nbsp;{{but.name}}</button>
    </div>
</div>

<form class="div-find form-inline" >
    <div class="form-group">
        <label class="form-label">姓名：</label>
        <input ng-model="form.name" type="text" class="form-control" placeholder="姓名"/>
    </div>
    <div class="form-group">
        <label class="form-label">身份证：</label>
        <input ng-model="form.id_card" type="text" class="form-control" placeholder="身份证"/>
    </div>
    <div class="form-group">
        <label class="form-label">证书名称：</label>
        <input ng-model="form.cert_name" type="text" class="form-control" placeholder="证书名称"/>
    </div>
    <div class="form-group">
        <label class="form-label">职称：</label>
        <input ng-model="form.job_title" type="text" class="form-control" placeholder="职称"/>
    </div>
    <button ng-click="select()" type="submit" class="btn btn-secondary"><i class="iconfont icon-search"></i>&nbsp;查询</button>
</form>

<div class="div-table">
    <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <th class="table-th-checkbox" ><input type="checkbox" ng-click="checkAll($event.target)" /></th>
                <th column="name" class="sorting" ng-click="order($event.target)">姓名</th>
                <th column="id_card" class="sorting" ng-click="order($event.target)">身份证号</th>
                <th column="cert_name" class="sorting" ng-click="order($event.target)">证书名称</th>
                <th column="issue_unit" class="sorting" ng-click="order($event.target)">发证单位</th>
                <th column="issue_time" class="sorting" ng-click="order($event.target)">发证日期</th>
                <th column="job_title" class="sorting" ng-click="order($event.target)">职称</th>
            </tr>
        </thead>

        <tbody ng-switch on="page.current_num">
            <tr ng-switch-when="0">
                <td colspan="100" >查询无记录</td>
            </tr>
            <tr ng-repeat="row in rows" ng-click="optData($event.currentTarget)">
                <td>
                    <input type="checkbox" name="dataPk" value="{{row.id}}" />
                </td>
                <td>{{row.name}}</td>
                <td>{{row.id_card}}</td>
                <td>{{row.cert_name}}</td>
                <td>{{row.issue_unit}}</td>
                <td>{{row.issue_time}}</td>
                <td>{{row.job_title}}</td>
            </tr>
        </tbody>
    </table>
</div>
<div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page"></div>


